package com.emar.adx.yiqifa.patten.builder;

/**
 * Created by Administrator on 2016/4/13.
 */
public abstract class BuilderFactory<T> {

    protected String name;
    protected String codeNo;
    protected String id;


    protected BuilderFactory<T> name(String val){
        this.name = val;
        return this;
    }

    protected BuilderFactory<T> codeNo(String val){
        this.codeNo = val;
        return this;
    }
    protected BuilderFactory<T> id(String val){
        this.id = val;
        return this;
    }

    protected abstract T build();
}
